import { h } from 'vue';
import { NAvatar } from 'naive-ui';
import { BasicColumn } from '@/components/Table';

export interface ListDataAboutTeacher {
  account:string
  username: string;
  proRank:string;
}

export interface ListDataAboutLabAdmin {
  account:string
  username: string;
  proRank:string;
}


export interface ListDataAboutStudent {
  account:string
  username: string;
  major: string,
  classNname: string

}

export const columnsAboutTeacher: BasicColumn<ListData>[] = [
  
  {
    title: '用户名',
    key: 'username',
    width: 100,
  },
  {
    title: '职称',
    key: 'proRank',
    width: 100,
  },
  
];


export const columnsAboutStudent: BasicColumn<ListData>[] = [

  {
    title: '学号',
    key: 'account',
    width: 100,
  },
  {
    title: '姓名',
    key: 'username',
    width: 100,
  },
  {
    title: '专业',
    key: 'major',
    width: 100,
  },
  {
    title: '班级',
    key: 'className',
    width: 160,
  },
];


export const columnsAboutLabAdmin: BasicColumn<ListData>[] = [

  {
    title: '用户名',
    key: 'username',
    width: 100,
  },
  {
    title: '职称',
    key: 'proRank',
    width: 100,
  },
];